package com.yikaiye.android.yikaiye.model;

import java.util.List;

public class MessageRecordsModel {
    private List<MessageModel> records;

    public List<MessageModel> getRecords() {
        return records;
    }

    public void setRecords(List<MessageModel> records) {
        this.records = records;
    }

    public static class MessageModel {
        private String id;
        /**
         * 用户id
         */
        private String userId;
        /**
         * 创建时间
         */
        private String createTime;
        /**
         * 修改时间
         */
        private String updateTime;
        /**
         * 消息来源（ 0-APP，1-PC，2-微信小程序）
         */
        private int sources;
        /**
         * 是否删除（0-未删除，1-已删除）
         */
        private int isDel;
        /**
         * 消息内容
         */
        private String message;
        /**
         * 消息状态（0-未读；1-已读）
         */
        private int messageStatus;
        /**
         * 消息类型：0.付款成功 1.过期提醒 2.退款成功 3.付款取消 4.服务消息
         */
        private Integer type;
        /**
         * 关联id
         */
        private String relationId;
        /**
         * 标记已读的时间（以标记已读状态改变的时间为主）
         */
        private String flagCreateTime;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getSources() {
            return sources;
        }

        public void setSources(int sources) {
            this.sources = sources;
        }

        public int getIsDel() {
            return isDel;
        }

        public void setIsDel(int isDel) {
            this.isDel = isDel;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public int getMessageStatus() {
            return messageStatus;
        }

        public void setMessageStatus(int messageStatus) {
            this.messageStatus = messageStatus;
        }

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }

        public String getRelationId() {
            return relationId;
        }

        public void setRelationId(String relationId) {
            this.relationId = relationId;
        }

        public String getFlagCreateTime() {
            return flagCreateTime;
        }

        public void setFlagCreateTime(String flagCreateTime) {
            this.flagCreateTime = flagCreateTime;
        }
    }
}
